<!--{subtemplate common/header}-->
<style>
/*fix bootstrap css*/
@media (min-width: 1200px){
.container{
	width:970px;
}
#topnav{
	width:970px;
}
}
.form-control{
	border-radius:0px;
}
.btn-lg{
	padding:12px 20px;
}
.panel-default{
	border:0px;
	
}
.panel-default > .panel-heading {
	color: #333333;
	background-color: #ffffff;
	border:0px;
	padding:10px 10px;
}
/*fix end*/
</style>
<div class="container">
<!-- 定宽内容开始 -->
<div class='row'>
<div class='square-head'>
<b></b>
<h1>贝城广场</h1>
</div>
</div>
<div class="row">
<!-- 广场开始 -->
<div class="col-md-8">
<!-- 发布开始 -->
<div class='square-create'>
<form role="form">
<div class="form-group">
    <textarea class="form-control" rows="4"  placeholder="来一发～" range="0&0" selected='selected'></textarea>
<ul class="nav nav-pills nav-sm nav-nobg create-menu" from='square-create' style='float:left'>
<li target='tag'><a><b class='btn-tag'></b> 话题</a></li>
<li target='face'><a><b class='btn-face'></b> 表情</a></li>
<li target='image'><a><b class='btn-image'></b> 图片</a></li>
<li target='video'><a><b class='btn-video'></b> 视频</a></li>
<li target='long'><a><b class='btn-long'></b>长文章</a></li>
</ul>
<ul class="nav nav-pills nav-sm nav-nobg" style='float:right'>
<li><a><b class="btn-weibo btn-share"></b></a></li>
<li><a><b class="btn-renren btn-share"></b></a></li>
<li><a><b class="btn-qzone btn-share"></b></a></li>
<li><button id='btn-create' type="button" data='type=short,act=create' class="btn btn-default" disabled='disabled'>发布</button></li>
</ul>
<div style='clear:both'></div>
  </div>
</form>
</div>
<!-- 发布结束 -->
<div class='square-tips'>大家在说..</div>
<div class='square-type'>
<ul class="nav nav-pills nav-sm" style='float:left'>
<li square-type='normal' class='active'><a>智能排序</a></li>
<li square-type='new'><a>最新</a></li>
<li square-type='hot'><a>最热</a></li>
<li square-type='my'><a>我关注的</a></li>
</ul>
<div style='clear:both'></div>
</div>
<!-- 广场内容显示 -->
<div class='square-content'>
<!--{subtemplate square_main}-->
</div>
<div class='square-loading'>
<span>正在加载中...</span>
</div>
<div class='square-getnew'>
<span><a href='javascript:void(0)'>点击加载更多</a></span>
</div>
<div class='square-nonew'>
<span>无信息</span>
</div>
<!-- 广场内容显示结束 -->
</div>
<!-- 右侧区域开始 -->
<div class="col-md-4">
<div class='square-user'>
<div class='user-headimg'>
$headimg
</div>
<div class='user-weather'>
<ul>
<li><img src="$weather['pic']" alt='' /></li>
<li>$weather['city'],$weather['date']</li>
<li>$weather['weather']</li>
<li>$weather['temperature']</li>
</ul>
</div>
<div class='user-basicinfo'>
<p><b>$_G['username']</b></p>
<p>等级:$_G['levelid']</b>
</div>

<div style='clear:both'></div>
<ul class="nav nav-pills nav-sm nav-nobg squareinfo">
<li><a><strong>$userstat['tfriends']</strong><br/>关注</a></li>
<li><a><strong>$userstat['friends']</strong><br/>粉丝</a></li>
<li><a><strong>$userstat['squares']</strong><br/>帖子</a></li>
<li><a><strong>$userstat['hots']</strong><br/>热门</a></li>
</ul>
<dl class="dl-horizontal">
  <!--{if empty($_G['user']['check'])}-->
  <dt><button type="button" class="btn btn-default btn-lg btn-checkin">贝城签到</button></dt>
  <dd>
  <p>今日:<span class='check-today'>未签到</span></p>
  <!--{else}-->
  <dt><button type="button" class="btn btn-default btn-lg" disabled='disabled'>今日已签到</button></dt>
  <dd>
  <p>今日:<span class='check-today'>第$_G['user']['check']['cid']名</span></p>
  <!--{/if}-->
  <p>连续:<!--{echo $_G['user']['checkcount']?$_G['user']['checkcount'].'天':'未连续';}--></p>
  </dd>
</dl>
</div>
<div class="panel panel-default square-hot">
  <div class="panel-heading">
    <h3 class="panel-title">热门排行<span><a>更多>></a></span></h3>
  </div>
  <div class="panel-body">
    <ul>
    <!--{if !empty($taglist)}-->
    <!--{loop $taglist $tag}-->
    <li><span>$tag['tagcount']</span><a href="index.php?mod=square&action=getsquarebytag&tagid=$tag['tagid']">#$tag['tagname']#</a></li>
    <!--{/loop}-->
    <!--{else}-->
    <li>暂无话题</li>
    <!--{/if}-->
    </ul>
  </div>
</div>
<div class="panel panel-default square-loss">
  <div class="panel-heading">
    <h3 class="panel-title">失物招领<span><a>更多>></a></span></h3>
  </div>
  <div class="panel-body">
    
  </div>
</div>
</div>
<!-- 右侧区域结束 -->
</div>
</div>
<!-- 表情层 -->
<div class='face layout'>
<div class='face-type'>
<ul class='nav nav-pills nav-sm nav-nobg type-list'>
<!--{loop $smilelist $key $val}-->
<!--{if $val['avaliable']}-->
<li <!--{if $key==1}--> class='selected' <!--{/if}--> data='{"typeid":$key,"directory":"$val["directory"]"}'>$val['name']</li>
<!--{/if}-->
<!--{/loop}-->
</ul>
</div>
<div class='face-detail'>
<ul class='nav nav-pills nav-sm nav-nobg detail-list'>
</ul>
<div class='face-page'>
<a class='last-page'>上页</a>
<a class='next-page'>下页</a>
<p style='float:right'><span class='current-page'>1</span>/<span class='max-page'>1</span></p>
</div>
</div>
</div>
<!-- 表情层结束 -->
<!-- 话题层 -->
<div class='tag layout'>
<p>添加话题</p>
<div class='tag-input'><p><span>#</span><input type='text' /><span>#</span></p><button>添加</button></div>
<div class='tag-list'>
<p>热门话题</p>
<!--{if !$taglist}-->
<div class='no-hot-tag'>
暂无热门话题
</div>
<!--{else}-->
<ul class='nav nav-pills nav-sm nav-nobg'>
<!--{loop $taglist $val}-->
<li>
<a onclick='javascript:void(0)'>$val['tagname']</a>
</li>
<!--{/loop}-->
</ul>
<!--{/if}-->
</div>
</div>
<!-- 话题层结束 -->
<!-- 图片层 -->
<div class='image layout'>

</div>
<!-- 图片层结束 -->
<!-- 视频层 -->
<div class='video layout'>
<ul>
<li>上传本地视频</li>
<div class='upload-video'>
<input type="file" name="file" accept="video/avi" />
<a href='#' class='btn-upload-video'>确认</a>
</div>
<li>分享网络视频</li>
<div class='share-video'>
<input type='text' placeholder="请输入视频播放页地址" /><a href='#' class='btn-share-video'>确认</a>
<p><span>目前已支持新浪播客、优酷网、土豆网、酷6网、搜狐视频、56网视频网站的视频播放页链接。</span><p>
</div>
</ul>
</div>
<!-- 视频层结束 -->
<!-- 长文章层 -->
<div class='long layout'>

</div>
<!-- 长文章层结束 -->
<!--{subtemplate common/footer}-->